package io.xccit.securityhello.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 *@author CH_ywx
 *@Date 2023-06-02
 *@Description 测试Controller
 */
@RestController
@RequestMapping("/test")
public class TestController {
    @GetMapping("/hello")
    public String hello(){
        return "<h1>Hello,Spring Security!</h1>";
    }
}
